home *** CD-ROM | disk | FTP | other *** search
/ Loadstar 128 #11 / q11.d81 / t.paint 128 ii < prev    next >
Encoding:
Text File  |  1990-01-01  |  15.7 KB  |  353 lines

  1.  
  2.                             P A I N T   1 2 8   II
  3.  
  4.                                by Peter Marions
  5.  
  6.      One of the main reasons people like the C-128 is the 80-column screen,
  7. but it's not very easy to work with outside the straight text mode.  BASIC
  8. 8, by Lou Wallace and David Darus, is a programming language that allows
  9. programmers to do things that would take an unreasonable amount of BASIC 7.0
  10. code to do.  But what about non-programmers?
  11.  
  12.      PAINT 128 was the answer.  We published it on LOADSTAR 128 #8 and had
  13. many comments and suggestions for it.  Where's the ZOOM mode?  How about big
  14. fonts?  Mouse support?  I passed these on to Peter Marions, master
  15. programmer from Sweden, and he answered with PAINT 128 II, which has many
  16. new features -- so many that I decided to publish it again.
  17.  
  18.      It's all complete here; you don't have to have LOADSTAR 128 #8 to use
  19. this program.  Numerous printer drivers and fonts are on the disk (including
  20. some super fonts) and before you know it you'll be in the middle of a
  21. masterpiece.
  22.  
  23.      Here are some of the new features:
  24.  
  25.  Input Device - the "Settings" menu lets you select mouse, joystick or
  26.    keyboard
  27.  Zoom Mode - change any pixel easily.
  28.  Color Preferences - set your favorite menu/window colors.
  29.  Brush Merge - instead of erasing the screen underneath, you can now blend
  30.    your brush with what's already there.
  31.  Tile Brush - completely tile the whole screen -- very fast!
  32.  Crystal Draw - hard to explain but very catchy.
  33.  Two-drive support - works with drives 8 and 9.
  34.  Menu loading - now has a menu/scroll bar for loading files.  You don't
  35.    need to enter filenames.
  36.  Superfonts - big fonts a la Geos are now supported (and included).
  37.  
  38.      PAINT 128 II runs in the 80-column mode and autoconfigures itself to
  39. your Commodore 128, whether you have a 16K or 64K of Video RAM.  The line at
  40. top of screen is the main menu with your main options.  The menu bar at the
  41. top of the screen responds in several ways.  You can either:
  42.  
  43.   press the first letter of the menu item (p for Paint, 3 for
  44.     3D-Objects, etc.)  or
  45.   move the cursor arrow to the menu item and press SPACE, FIREBUTTON or
  46.     the left mouse button.
  47.  
  48. Use the cursor keys, joystick up/down or the left mouse button to move the
  49. highlight bar and then press RETURN, FIRE or the right mouse button.  The
  50. ESC button will get you out of any menu without selecting anything.  You can
  51. change the joystick speed by pressing H for higher speed and L for lower
  52. speed.
  53.  
  54.      Always choose a command before you mark graphics on screen.  The last
  55. command will be kept until a new one is chosen.  The pointer arrow is moved
  56. with the mouse, cursor keys or joystick.  You mark your graphics by moving
  57. the pointer then pressing SPACE, FIRE or the left mouse button.  The screen
  58. will flash red, and a little "+" will mark your spot.  You can unmark your
  59. first location by pressing the ESC key or the right mouse button.
  60.  
  61.      If you don't want the "+" to be drawn on the screen when you're marking
  62. a spot, press M to toggle the Marker on and off.  Likewise, if you don't
  63. like the "beep" sound that signals when you've marked something, you can
  64. turn the sound off from the Settings Submenu.
  65.  
  66.      The following text is written for the keyboard mode.  Just remember
  67. that the left mouse button and the FIREBUTTON do the same job as SPACE if
  68. you're in the mouse or joystick mode. 
  69.  
  70.      A short example: Say you would like to make a rectangle.  The RECTANGLE
  71. command is found under main menu command PAINT.  Press p (for PAINT), select
  72. rectangle command with cursor keys, then press RETURN.  Now move the pointer
  73. to the place you want one of the upper corners of the rectangle to be and
  74. press SPACE.  Now move the pointer to the lower opposite corner and press
  75. SPACE.  The rectangle will be drawn according to your marks.
  76.  
  77.      To make the following simpler, let's define some terms.  A "picture" is
  78. the entire screen.  A "brush" is a smaller, definable part of the screen.  A
  79. "cell" is an 8*8 pixel section of the screen.
  80.  
  81.      There are six menus listed at the top of the screen.  Each one has
  82. several options.  We'll take them from left to right.
  83.  
  84. ---  PAINT submenu  ---
  85.  
  86. * DOT: Places a dot on screen.
  87.  
  88. * RECTANGLE: Draws a rectangle on screen.  Mark opposite corners with the
  89. cursor.  Note that once you set the first mark, you can draw the rectangle
  90. to the left or to the right, up or down.
  91.  
  92. * BLOCK: Draws a filled block on the screen.  It's like the rectangle,
  93. except filled.
  94.  
  95. * CIRCLE: Draws a circle.  You first mark the top of the circle, then move
  96. the cursor to the left or right side of the circle.  If the circle were a
  97. clock, you'd first mark 12 o'clock, then choose the circle's size by marking
  98. 3 o'clock or 9 o'clock.
  99.  
  100. * LINE: Draws a line on screen.  Mark the start then the end of line.
  101.  
  102. * LINE TO LINE: Draws a connected line on screen.  The end mark of your
  103. first line is automatically the start mark of your second line, and so on.
  104.  
  105. * DRAW: Draws a line under your control.  Set the pointer then press SPACE
  106. to activate DRAW.  Press SPACE to toggle draw on and off.
  107.  
  108. * FILL: Fills an enclosed area with a fill pattern.  Place the pointer
  109. inside the area you want filled and hit SPACE.  IMPORTANT!  Make sure that
  110. fill area is completely enclosed or the whole screen may be filled!
  111.  
  112. * WINDOW: Draws a colored, outlined window.  Mark the opposite corners with
  113. the pointer.
  114.  
  115.  
  116. ---  3D-OBJECTS submenu  ---
  117.  
  118. * SPHERE: Plots a 3D solid sphere.  First mark center of sphere then mark
  119. radius right or left from center.
  120.  
  121. * CYLINDER: Draws a solid cylinder.  Works just like the sphere command.
  122.  
  123. * SPOOL: Draws a solid spool structure.  It's like a cylinder whose ends are
  124. larger than the middle.
  125.  
  126. * TOROID: Draws a solid toroid (doughnut) shape.
  127.  
  128. NOTE! Characteristics for 3D-Objects can be defined under main menu command
  129. SETTINGS, explained later.
  130.  
  131.  
  132. ---  TOOLS submenu  ---
  133.  
  134. * ZOOM: The zoom function allows you to zoom into a small area for fine
  135. editing.  Point to it and press SPACE to activate the zoom window.  Areas
  136. outside the enlarged area can be brought into the zoom window by pressing
  137. CRSR LEFT, RIGHT, UP or DOWN.  Editing can be done with CRSR keys or
  138. joystick.  It works as a toggle -- pixels on are turned off and pixels off
  139. are turned on when you press SPACE.  Exit zoom mode with RETURN or ESC.
  140.  
  141. * GET BRUSH: Copies a rectangular area of the screen to memory where it can
  142. be copied to any part of the screen (PASTE BRUSH), or saved (SAVE BRUSH). 
  143. Position the pointer at one corner of the area and press SPACE.  Then
  144. position the pointer at opposite corner of the rectangle and press SPACE
  145. again.  If the start position was not correct press the ESC button and
  146. retry.
  147.  
  148. * PASTE BRUSH: Used to paste a copied brush to screen.  Point to the place
  149. you want the upper left corner of the saved brush and press SPACE.  You can
  150. repeat this as many times as you like.
  151.  
  152. * TILE BRUSH: Tiles a brush to the whole screen.  NOTE! This will overwrite
  153. everything drawn on screen.
  154.  
  155. * SAVE AS PATTERN: Saves a rectangular area of the screen to be used as a
  156. fill pattern.  This means anything on the screen can be saved as a pattern
  157. and used with the FILL command.  Works like Copy brush.  Pattern can also be
  158. saved to disk with the SAVE PATTERN command.
  159.  
  160. * MIRROR X: Mirrors a rectangular area of screen in the horizontal
  161. direction.  Works the same as COPY BRUSH.
  162.  
  163. * MIRROR Y: Same as mirror X but in the Y direction.
  164.  
  165. * MULTIDRAW: Multidraws works with the commaads RECTANGLE, CIRCLE, LINE and
  166. LINE TO LINE.  Adjust the Thickness by pressing T then + or -.  This
  167. determines how many times each command will be drawn.  By adjusting X and Y
  168. you specify how many pixels (in the X or Y direction) every new graphic will
  169. move from the previous one.  Press M to toggle MULTIDRAW command on and off.
  170. IMPORTANT!  AFTER setting multidraw values, graphic command must be
  171. selected.  Multidraw works fine in connection with CRYSTAL DRAW.  The
  172. easiest way to understand what this command can do is to experiment.  You
  173. can achieve some very interesting 3-D effects with it.  Remember to set
  174. MULTIDRAW off when you're not using it.
  175.  
  176. * CRYSTAL DRAW: Crystal draw works with command DOT, RECTANGLE, BOX, CIRCLE,
  177. LINE, LINE TO LINE and WINDOW.  Crystal draw will draw any of these graphic
  178. shapes in any number around the center of screen.  Select CRYSTAL DRAW, set
  179. it on with the C key, then choose numbers of crystals.  Exit with RETURN. 
  180. Choose the graphic command from PAINT menu.  Now draw this graphic to the
  181. screen and watch how CRYSTAL DRAW draws it according to its size and place
  182. and your CRYSTAL DRAW settings.  Remember to set CRYSTAL DRAW off when not
  183. using it.
  184.  
  185. * AREA CLEAR: Just mark any rectangle and it will be cleared.
  186.  
  187. * SCREEN CLEAR: Clears the screen after asking you if you are sure you want
  188. to.  This command can be used in the direct mode by pressing the CLR key
  189. (SHIFT-HOME).  This command also updates screen colors using color mode 1.
  190.  
  191. * ABOUT..: Lists the credits.
  192.  
  193. * EXIT: Quits the program after asking you if you are sure.  Since BASIC 8
  194. is still installed, PAINT 128 II doesn't return you to LOADSTAR.
  195.  
  196.  
  197. ---  WRITE submenu  ---
  198.  
  199. * WRITE: Activates write command.  Place the pointer where your text is to
  200. start and press SPACE.  You will then be asked to write the text at top of
  201. the screen.  Press RETURN when finished, and the text will be printed on the
  202. screen.  The ESC key key will get you out of the text input without printing
  203. anything.  The text will be printed in the last font or superfont chosen.
  204.  
  205. * FONT & TEXT SIZE: Lets you choose among several fonts and sizes.  Choose
  206. them by pressing the letter within parentheses, then RETURN.  Text width 0
  207. should be used with the 160 column font.
  208.  
  209. * TEXT DIRECTION: Lets you decide in which direction the text will be drawn.
  210. HORIZONTAL CENTERED will center the text over the pointer.  This is handy
  211. when titling text over graphics.
  212.  
  213. * TEXT MODE: Sets up in which way text is drawn on the screen.  You can have
  214. normal text that blanks cell under a character.  Or you can overwrite the
  215. cell using reversed textmode.  Text can be underlined or you can have text
  216. that is drawn with last pattern.  This is very useful with large characters.
  217.  
  218. * SUPERFONTS: Superfonts are high resolution fonts specially written for
  219. PAINT 128 II.  This means you can have large fonts without "jaggies", which
  220. you usually get when a regular font is simply doubled in size.  Place the
  221. cursor where text is to start, choose SUPERFONTS and select your SUPERFONT
  222. from disk and press RETURN.  Write your text at top of screen and press
  223. RETURN.  Program will now load selected SUPERFONT and display your text on
  224. the screen.  Note that text commands TEXT DIRECTION and TEXT MODE don't work
  225. with SUPERFONTS.  Also, superfonts act like brushes and can be used in the
  226. Paste Brush Mode, described in the next section.
  227.  
  228. ---  SETTINGS submenu  ---
  229.  
  230. * COLOR: Sets drawcolor and menu color.  Border and screen color are always
  231. black when screen is not in monochrome mode.  This command works in direct
  232. mode.  Just press F1 or F3 key to adjust drawcolors.  The F5 and F7 keys set
  233. menu colors to your choice.  The left corner of the main menu shows the
  234. activated drawcolors.  For more about color see below:
  235.  
  236. * DRAWMODE: Defines in which way the graphic is drawn to the screen.
  237.  
  238.      COLOR MODE 1: Uses foreground/background colors found in cell.  Updates
  239. new colors with screen CLR.  This is the fastest mode.
  240.  
  241.      COLOR MODE 2: Uses the background color found in cell and foreground
  242. color set by COLOR command.
  243.  
  244.      COLOR MODE 3: Uses foreground/background color set by the COLOR
  245. command.
  246.  
  247.      UNDRAW: Turns on the erase mode.  Unplots all pixels.  Use this mode to
  248. erase graphics on screen.
  249.  
  250.      REVERSE: Pixels ON are turned OFF, pixels OFF are turned ON.
  251.  
  252.      REVERSE COLOR: Reverses colors set by COLOR mode.
  253.  
  254.      PATTERN: Uses a previously defined pattern when drawing.
  255.  
  256.  
  257.  
  258.  
  259. * DRAW SHAPE: Offers different kind of shapes to be used with the Draw
  260. command.  You set drawspeed (how tight shapes will be set).
  261.  
  262. * FILL PATTERN: Choose one of 24 pre-defined patterns by pressing a letter
  263. key between A and X.  Press * (asterisk) to get a reversed pattern.
  264.  
  265. * CIRCLE TYPE: Choose one type of polygon to use with draw command    
  266. CIRCLE.
  267.  
  268. * 3D-OBJECTS SET UP: Defines characteristics for 3D-Solids.  Press first
  269. letter of the options to set Shade, Form, Light and View, then press RETURN.
  270.  
  271. * BRUSH PASTE MODE: Lets you paste a brush (or superfont character) on the
  272. screen.  There are four modes you can choose from:
  273.  
  274.      ERASE UNDER: erases area then draws.
  275.  
  276.      MERGE WITH: doesn't erase area before drawing.
  277.  
  278.      COMMON: only pixels common to both screen and brush are kept.
  279.  
  280.      COMPLEMENT: pixels common to both screen and brush are NOT kept.
  281.  
  282. * PRINTER SET UP: Allows you to set the configuration for your printer. 
  283. Choose the printer routine for your printer, then set the secondary address,
  284. height and density.  You can even have the picture rotated.  If your printer
  285. is not mentioned on the Printer Menu, then you have to experiment to find
  286. one that works satisfactory.  NOTE: Some printers will not allow rotated
  287. pictures.  Generally, your best bet is to experiment if something doesn't
  288. seem to be supported by your printer.  You should begin each session with
  289. PAINT 128 II by setting it up for your printer.
  290.  
  291. * SCREEN SIZE: Adjust screen height.  If your C128 doesnt have the 64k 
  292. video chip RAM you have two screen formats, 640*200 monochrome or 640*176
  293. with color (default screen).  The expanded C128 (all C128Ds) allows you to
  294. choose among 640*200, 640*400 or 640*600 screen.  640*200 is the default
  295. screen.  If you are using a screen height higher than 200 pixels you have to
  296. scroll the screen up and down with the plus (+) and minus (-) keys.
  297.  
  298. * COORDINATES: Shows pointer coordinates in upper right corner.  This is
  299. helpful in fine-tuning graphics.
  300.  
  301. * CONTROLLER: Allows you to choose mouse, joystick or keyboard input.  This
  302. is the same menu the program begins with.
  303.  
  304. * SOUND ON/OFF: Toggles the beep when an action is taken.
  305.  
  306. ---  IN/OUT submenu  ---
  307.  
  308. * PRINT SCREEN: Prints a hardcopy according to settings made with the
  309. PRINTER SET UP command.
  310.  
  311. * DIRECTORY: Reads the directory from current disk and displays it on
  312. screen.
  313.  
  314. * SAVE PICTURE: Saves the entire screen to disk after removing Main menu. 
  315. First it lists other pictures found on disk, then you enter the filename for
  316. the picture.  Filenames of pictures will always start with PICT. for easy
  317. recognition.
  318.  
  319. * LOAD PICTURE: Loads a saved picture to screen.  First it lists all
  320. pictures found on disk.  Select file with CRSR keys then press RETURN to
  321. load file.
  322.  
  323. * SAVE BRUSH: Saves a brush to disk for later recall.  The brush is first
  324. saved to memory with the COPY BRUSH command.  Brush filenames always starts
  325. with BRUS.
  326.  
  327. * LOAD BRUSH: Loads a saved brush to memory for recall to screen with  the
  328. PASTE BRUSH command.  Select file to load with CRSR keys then press RETURN.
  329.  
  330. * SAVE PATTERN: Saves a pattern to disk.  This pattern should first be saved
  331. to memory with the SAVE AS PATTERN command.  Pattern filenames always start
  332. with PATR.
  333.  
  334. * LOAD PATTERN: Loads a pattern from disk to memory for use with the FILL
  335. command.
  336.  
  337. * RENAME FILE: This command lets you rename a file on disk.
  338.  
  339. * DELETE FILE: Deletes unwanted files.  Be careful with PAINT 128 II files! 
  340.  
  341. * DEVICE #: PAINT 128 II lets you work with 2 drives.  PAINT 128 II requires
  342. the disk with its files and requestors to always be in device 8.  PAINT 128
  343. II also assumes that the extra drive is set to DEVICE 9.  Changing the
  344. device to 9 changes the input and output of user-created files like brushes,
  345. pictures and patterns.  Additional SUPERFONTS may also be loaded from DEVICE
  346. 9, too.
  347.  
  348.      LOADSTAR and Peter Marions hope you enjoy having control of the
  349. thousands of pixels on your 80-column graphics screen.
  350.  
  351.                              **** End of Text ****
  352.                                                                             
  353.